import Vue from 'vue'
import VueRouter from 'vue-router'


import CinemaRoute from "./Cinema"
import MineRoute from "./Mine"
import MovieRoute from "./Movie"


Vue.use(VueRouter);


const router = new VueRouter({
    mode: 'history',
    base: "/miaomiao/",
    routes: [
        CinemaRoute,
        MineRoute,
        MovieRoute,
        {
            path: "/*",
            redirect: "/mine/"
        }
    ]
})

export default router;